

#include <iostream>
using namespace std;
#include "infrarood.h"
#include <stdio.h>


// serial test function

int main(int argc, char *argv[])
{
	int i;

        IRSensors infra;
        infra.start();

        printf("Hey Bavo\n");
	
	
	while(1)
	{
		int a = infra.getBy();
		int b = infra.getBx();
		printf("Mainlus x=%d y=%d \n",b,a);
		sleep(2);
	}	
	return 0;
}
